package cn.da.shuai.cool.system.model.enums.position;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * 岗位状态枚举
 */
@Getter
public enum PositionStatusType {
    NORMAL(1, "正常"),
    DISABLED(2, "停用"),
    DELETED(3, "删除");

    @EnumValue
    @JsonValue
    private final int value;
    private final String desc;

    PositionStatusType(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }
}